ThemeIsle\GutenbergBlocks\Integration\Form_Data_Response S

Total Complexity 29
Dependencies 2
Dependents 6
Total lines 394
Lines of code 145
Logical lines of code 56
Comment lines 166
Methods 23
Properties 3

Methods 23

Method Rating Maintainability Complexity Lines of code
get_error_code_message()
S
42 4 49
process_error_code()
S
71 2 6
build_response()
S
68 2 8
set_error()
S
69 2 7
get_error()
S
80 1 3
set_is_credential_error()
S
77 1 4
is_credential_error()
S
82 1 3
has_error()
S
79 1 3
add_values()
S
75 1 4
add_response_field()
S
76 1 4
set_response()
S
77 1 4
get_reasons()
S
80 1 3
__construct()
S
68 1 7
copy()
S
70 1 6
mark_as_success()
S
76 1 4
make_internal_response()
S
80 1 3
is_success()
S
80 1 3
set_success_message()
S
76 1 4
set_reasons()
S
76 1 4
add_reason()
S
76 1 4
set_display_error()
S
76 1 4
set_code()
S
76 1 4
set_success()
S
76 1 4